package com.mbl.base.modular.mall.service;

import com.mbl.base.modular.mall.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 收货地址表 服务类
 * </p>
 *
 * @author lwj
 * @since 2020-03-21
 */
public interface IAddressService extends IService<Address> {

    /**
     * 根据用户id获取默认地址
     * @param userId
     * @return
     */
    Address findDefault(Long userId);
}
